package com.fingard.dsp.bank.reqrespobj.recrefund;

import com.fingard.dsp.bank.reqrespobj.RetAtsBase;

import java.util.HashMap;

/**
 * 代扣退款提交响应
 * 
 * @author Cruise
 * @date 2018/4/4
 * @version 1.0
 */
public class RetAtsRecRefund extends RetAtsBase {
	/** 响应码 */
	public String respCode;

	/** 响应信息 */
	public String respInfo;

	/** 退款流水号 */
	public String refundNo;

	/** 渠道方退款流水号 */
	public String oppRefundNo;

	/** 原商户订单号 */
	public String oriRdSeq;

	/** 原渠道方订单号 */
	public String oriOppOrderNo;

	/** 退款申请状态 (2:退款成功；3:退款失败；4:退款中；5:未知;8:状态码未知;10:退款关闭;) */
	public String refundState;

	/** 原始信息码 */
	public String originalCode;

	/** 原始原因 */
	public String originalInfo;

	/** 映射后统一信息码 */
	public String unifiedCode;

	public HashMap<String, String> getRetAtsHashMap() {
		HashMap<String, String> retHash = new HashMap<String, String>();

		retHash.put("RespCode", respCode);
		retHash.put("RespInfo", respInfo);
		retHash.put("RefundNo", refundNo);
		retHash.put("OppRefundNo", oppRefundNo);
		retHash.put("OriRdSeq", oriRdSeq);
		retHash.put("OriOppOrderNo", oriOppOrderNo);
		retHash.put("RefundState", refundState);
		retHash.put("OriginalCode", originalCode);
		retHash.put("OriginalInfo", originalInfo);
		retHash.put("UnifiedCode", unifiedCode);

		return retHash;
	}
}
